package sy.jackson;

import sy.model.SysProject;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

public class SysProjectMixin {
	@JsonIgnoreProperties({"sysDivision"})
	public static class BasicInfo {
	}
	
	public static class treeInfo extends SysProject{
		@JsonProperty("pid")
		public String getPid(){
			return getSysDivision().getId();
		}
	}
}